package com.sddz.pacs.mapper;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.sddz.pacs.entity.SysUserRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统用户角色表 Mapper 接口
 * </p>
 *
 * @author 时代电子
 * @since 2018-05-16
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    //根据人员id获取角色id集合
    List<String> getRoleIdList(@Param("ew") EntityWrapper<SysUserRole> ew);

}
